package com.firwood.inject;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class InjectTest {
	@Test
	public void test01(){
		//
		String xmlPath = "com/firwood/inject/beans.xml";
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext(xmlPath);
		
		UserImpl useri = applicationContext.getBean("UserImplId",UserImpl.class);
		
		useri.save();
		
	}
}
